package com.coin.api;


import io.swagger.annotations.*;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "下委托单的操作")
public class OrderParam {

    @ApiModelProperty(value = "交易对的符号")
    private String symbol;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "数量")
    private BigDecimal volume;

    @ApiModelProperty(value = "类型: 1 :  买入 2 :卖出")
    private Integer type;

}
